package org.example.service;

import org.apache.ibatis.annotations.Param;
import org.example.entity.Players;
import org.springframework.stereotype.Service;

import java.util.List;


public interface PlayersService {
    List<Players> getList(@Param("pname") String pname, @Param("cid") Integer cid,@Param("pageNo") Integer pageNo);

    int add(Players players);

    int del(Integer pid);

    int update(Players players);

    Players get(Integer pid);

}
